package com.llb666.e.shop.infrastructure.convert;

import com.llb666.e.shop.domain.entity.ItemsParam;
import com.llb666.e.shop.infrastructure.po.ItemsParamPo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

/**
 * @author 斌~
 * @date 2022/8/7 下午8:36
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ItemsParamCvt {
    ItemsParamCvt INSTANCE = Mappers.getMapper(ItemsParamCvt.class);

    ItemsParamPo do2po(ItemsParam itemsParam);

    ItemsParam po2do(ItemsParamPo itemsParamPo);
}
